<?php
namespace app\yyzf\controller\api;

use think\Db;
use think\Controller;


class Index extends Controller
{
    public function index()
    {
        $select = Db::table('pre_building')->select();
        if(!$select){
            $this->error('暂无结果');
            return false;
        }
        $this->success('查询成功',null,$select);
    }

}
